﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CotizacionPopup.aspx.cs" Inherits="CROSLAND.WebApp.Impresion.CotizacionPopup" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="fReporte" runat="server">
    <div>
        <asp:ToolkitScriptManager ID="smGeneral" runat="server" ScriptMode="Release">
        </asp:ToolkitScriptManager>


        <rsweb:ReportViewer ID="rvGeneral" runat="server" Width="100%"
               style="padding-top:0; margin-top:0; top:0; vertical-align:top"
                ShowFindControls="False" SplitterBackColor="White" 
               Height="560px" KeepSessionAlive="False" Font-Names="Verdana" Font-Size="8pt" 
               InteractiveDeviceInfos="(Collection)" WaitMessageFont-Names="Verdana" 
               WaitMessageFont-Size="14pt" >
            <LocalReport ReportPath="Impresion\CotizacionReport.rdlc">
                 <DataSources>
                     <rsweb:ReportDataSource DataSourceId="odsGeneral" Name="dsCotizacion" />
                 </DataSources>
            </LocalReport>
             
        </rsweb:ReportViewer>
    </div>
    <asp:ObjectDataSource ID="odsGeneral" runat="server" 
        SelectMethod="obtenerReporteCotizacion" TypeName="CROSLAND.BL.BC.ImpresionBC">
        <SelectParameters>
            <asp:SessionParameter Name="pNroCotizacion" SessionField="NroCotizacion" 
                Type="String" />         
        </SelectParameters>
    </asp:ObjectDataSource>
    </form>
</body>
</html>

